From: Lars Magne Ingebrigtsen Date: Sat, 2 Jul 2011 14:30:52 +0000 (+0200) Subject: * fns.c (Frequire): Mention .el.gz files. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~3171 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=0e4bc168a15c72a4c0e02b48b8032b9d6e082e41;p=emacs.git * fns.c (Frequire): Mention .el.gz files. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8fa1e1e2545..7382dcf9456 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-07-02 Lars Magne Ingebrigtsen + + * fns.c (Frequire): Mention .el.gz files (bug#7314). + 2011-07-02 Martin Rudalics * window.h (window): Remove clone_number slot. diff --git a/src/fns.c b/src/fns.c index b6fe2a7f7b6..ab01eb6835a 100644 --- a/src/fns.c +++ b/src/fns.c @@ -2613,6 +2613,7 @@ is not loaded; so load the file FILENAME. If FILENAME is omitted, the printname of FEATURE is used as the file name, and `load' will try to load this name appended with the suffix `.elc' or `.el', in that order. The name without appended suffix will not be used. +If your system supports it, `.el.gz' files will also be considered. If the optional third argument NOERROR is non-nil, then return nil if the file is not found instead of signaling an error. Normally the return value is FEATURE.